import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.PriorityQueue;

public class BufferedReaderTest {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        // 读取整行并转整数
        int n = Integer.parseInt(br.readLine());
        
        // 读取一行并用空格分割成数组
        String[] parts = br.readLine().split(" ");
        int[] arr = new int[parts.length];
        for (int i = 0; i < parts.length; i++) {
            arr[i] = Integer.parseInt(parts[i]);
        }

        for (int elem : arr) {
            System.out.println(elem);
        }
        // Integer;
        PriorityQueue pq = new PriorityQueue<Integer>((Integer a, Integer b) -> {return a - b;});
        // List;
        // HashMap;
        // Entry;
        // ArrayList;
    }
}